/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 链接样式 */
a {
  text-decoration: none;
  color: inherit;
}

/* 按钮样式优化 */
.ant-btn {
  border-radius: 6px;
}

.ant-btn-primary {
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
}

/* 卡片样式优化 */
.ant-card {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ant-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 输入框样式优化 */
.ant-input,
.ant-input-password {
  border-radius: 6px;
}

/* 表单样式优化 */
.ant-form-item-label > label {
  font-weight: 500;
}

/* 菜单样式优化 */
.ant-menu-item {
  border-radius: 6px;
  margin: 4px 8px;
}

.ant-menu-item-selected {
  background-color: #e6f7ff !important;
}

/* 头像样式优化 */
.ant-avatar {
  border: 2px solid #f0f0f0;
}

/* 统计数字样式 */
.ant-statistic-title {
  color: #666;
  font-size: 14px;
}

.ant-statistic-content {
  font-weight: 600;
}

/* 进度条样式 */
.ant-progress-bg {
  border-radius: 4px;
}

/* 列表样式 */
.ant-list-item {
  padding: 12px 0;
}

.ant-list-item-meta-title {
  margin-bottom: 4px;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .ant-card {
    margin-bottom: 16px;
  }
  
  .ant-form-item {
    margin-bottom: 16px;
  }
}

/* 加载状态 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

/* 空状态 */
.empty-container {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

/* 错误状态 */
.error-container {
  text-align: center;
  padding: 40px 20px;
  color: #ff4d4f;
}

/* 成功状态 */
.success-container {
  text-align: center;
  padding: 40px 20px;
  color: #52c41a;
} 